package beans;

public class News {
	
	private int id;
	private String date;
	private String title;
	private String content;
	private int courseId;
	
	public News(){}

	public News(String content, int courseId) {
		super();
		this.content = content;
		this.courseId = courseId;
	}

	
	public News(int id, String content, int courseId) {
		super();
		this.id = id;
		this.content = content;
		this.courseId = courseId;
	}


	public News(String fecha, String titulo, String desc) {
		this.date=fecha;
		this.title=titulo;
		this.content=desc;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	

}
